home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 60265 / 60265.xpi / chrome / content / pwdedit.xul < prev    next >
Extensible Markup Language  |  2010-02-11  |  4KB  |  93 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3.     Saved Password Editor, extension for Firefox 3.0+
  4.     Copyright (C) 2010  Daniel Dawson <ddawson@icehouse.net>
  5.  
  6.     This program is free software: you can redistribute it and/or modify
  7.     it under the terms of the GNU General Public License as published by
  8.     the Free Software Foundation, either version 3 of the License, or
  9.     (at your option) any later version.
  10.  
  11.     This program is distributed in the hope that it will be useful,
  12.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.     GNU General Public License for more details.
  15.  
  16.     You should have received a copy of the GNU General Public License
  17.     along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18. -->
  19.  
  20. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  21.  
  22. <!DOCTYPE dialog SYSTEM "chrome://savedpasswordeditor/locale/spe.dtd">
  23.  
  24. <dialog id="pwdedit"
  25.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  26.         title="&savedpasswordeditor.title;"
  27.         buttons="accept,cancel"
  28.         ondialogaccept="setNewSignon();"
  29.         persist="width height">
  30.   <stringbundleset id="stringbundleset">
  31.     <stringbundle id="string-bundle"
  32.                   src="chrome://savedpasswordeditor/locale/spe.properties"/>
  33.   </stringbundleset>
  34.   <script type="text/javascript"
  35.           src="chrome://savedpasswordeditor/content/pwdedit.js"/>
  36.   <dialogheader id="header"/>
  37.   <groupbox id="type_groupbox">
  38.     <caption id="type_caption" label="&signontype.label;"/>
  39.     <radiogroup id="type_group" oncommand="handle_typeSelect();">
  40.       <radio id="type_form" label="&type_form.label;"
  41.              accesskey="&type_form.accesskey;"/>
  42.       <radio id="type_httpauth" label="&type_httpauth.label;"
  43.              accesskey="&type_httpauth.accesskey;"/>
  44.       <radio id="type_other" label="&type_other.label;"
  45.              accesskey="&type_other.accesskey;"/>
  46.     </radiogroup>
  47.   </groupbox>
  48.   <grid>
  49.     <rows>
  50.       <row>
  51.         <label control="hostname_text" value="&hostname.label;"/>
  52.         <textbox id="hostname_text" tooltiptext="&hostname.tooltip;"/>
  53.       </row>
  54.       <row id="formSubmitURL_row">
  55.         <label control="formSubmitURL_text" value="&formSubmitURL.label;"/>
  56.         <textbox id="formSubmitURL_text" tooltiptext="&formSubmitURL.tooltip;"/>
  57.       </row>
  58.       <row id="httpRealm_row" collapsed="true">
  59.         <label control="httpRealm_text" value="&httpRealm.label;"/>
  60.         <textbox id="httpRealm_text" tooltiptext="&httpRealm.tooltip;"/>
  61.       </row>
  62.       <row>
  63.         <label control="username_text" value="&username.label;"/>
  64.         <textbox id="username_text" tooltiptext="&username.tooltip;"/>
  65.       </row>
  66.       <row>
  67.         <label control="password_text" value="&password.label;"/>
  68.         <textbox type="password" id="password_text"
  69.                  tooltiptext="&password.tooltip;"/>
  70.         <button id="passwordView_btn" label="&showPassword.label;"
  71.                 accesskey="&showPassword.accesskey;"
  72.                 tooltiptext="&showPassword.tooltip;"
  73.                 oncommand="togglePasswordView();"/>
  74.       </row>
  75.       <row id="usernameField_row">
  76.         <label control="usernameField_text" value="&usernameField.label;"/>
  77.         <textbox id="usernameField_text"
  78.                  tooltiptext="&usernameField.tooltip;"/>
  79.       </row>
  80.       <row id="passwordField_row">
  81.         <label control="passwordField_text" value="&passwordField.label;"/>
  82.         <textbox id="passwordField_text"
  83.                  tooltiptext="&passwordField.tooltip;"/>
  84.       </row>
  85.     </rows>
  86.   </grid>
  87.   <button id="guessFromPage_btn" label="&guessfrompage.label;"
  88.           accesskey="&guessfrompage.accesskey;"
  89.           tooltiptext="&guessfrompage.tooltip;"
  90.           oncommand="guessParameters();"
  91.   />
  92. </dialog>
  93.